package com.example.community.mapper;

import com.example.community.model.Complaint;
import com.example.community.model.Floor;
import com.example.community.model.Paymanager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaymanagerMapper {
    int CountPaymanager();
    List<Paymanager> selectLimit(@Param("yss")Integer yss, @Param("shuju")Integer shuju);

    int CountPaymanagerByUsNo(Integer usNo);
    List<Paymanager> selectLimitByUsNo(@Param("yss")Integer yss, @Param("shuju")Integer shuju, @Param("usNo")Integer usNo);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table paymanager
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    int deleteByPrimaryKey(Integer pmNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table paymanager
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    int insert(Paymanager record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table paymanager
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    Paymanager selectByPrimaryKey(Integer pmNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table paymanager
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    List<Paymanager> selectAll();
    List<Paymanager> selectAllStatic();
    List<Paymanager> selectAllByUsNo(Integer usNo);
    List<Paymanager> selectAllByUsNoStatic(Integer usNo);
    List<Paymanager> selectPtNo(Integer ptNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table paymanager
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    int updateByPrimaryKey(Paymanager record);
}